<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		
		<title><? echo drizzo_site_name(); ?></title>
		
		<link rel="stylesheet" type="text/css" href="<? echo drizzo_theme("css"); ?>" />
		
		<style>
			html {
				background: #222;
				color: #eee;
				font-family: Georgia, serif;
				font-size: 100%;
				line-height: 1.3em;
				letter-spacing: 0.05em;
			}
			
			body {
				width: 80%;
				margin: 0 auto;
				background: #444;
				-moz-border-radius: 8px;
				border-top: none !important;
			}
			
			a {
				color: #617d69;
				text-decoration: none;
			}
				#header {
					border-bottom: 1px solid #333;
					-moz-border-radius: 8px;
					background: #333;
					padding: 1em 2%;
				}
				
					#header h1 {
						margin-bottom: 0em;
					}
					
					p#description {
						font-style:	italic;
						margin-top: 0.25em;
					}
					
				#main {
					padding-left: 2%;
					width: 70%;
					float: left;
				}
				
				#sidebar {
					width: auto;
					padding: 0 2%;
					margin-left: 74%;
					border-left: 1px solid #416c4d;
				}
				
					#sidebar ul {
						margin: 0;
						padding: 0;
						list-style: none;
						border-bottom: 1px dotted #416c4d;
					}

						#sidebar ul li {
							border-top: 1px dotted #416c4d;
						}
						
				#footer {
					clear: both;
					padding: 1em 2%;
					text-align: center;
				}
		</style>

	</head>
	
	<body>

		<div id="header">
			
			<h1><? echo drizzo_site_name(); ?></h1>
			
			<p id="description"><? echo drizzo_site_description(); ?></p>

		</div>
		
		<div id="main">
			
<?
		$the_posts = drizzo_get_the_posts($drizzo_limit, $drizzo_offset, "publish", "blog"); // Start the Loop
	
		foreach($the_posts as $the_post) {
?>
			<div class="post">
				<h2><a href="<? echo drizzo_post_permalink(); ?>"><? echo drizzo_post_title(); ?></a></h2>

				<p class="post_meta">By <? echo drizzo_post_author("nice_name"); ?> on <? echo drizzo_post_date(); ?></p>
				<p class="content"><? echo drizzo_post_excerpt(); ?></p>
				<p class="tag_meta"><strong>Tags:</strong> <? echo drizzo_post_tags(); ?> | <strong>Comments:</strong> <? echo drizzo_comment_count(); echo drizzo_edit_link(" | ", ""); ?></p>
			</div>
<?
		}
?>

			<br class="clear" />

		</div>
		
		<div id="sidebar">

			<h3>Recent Posts</h3>
			<? echo drizzo_recent_posts(); ?>

			<h3>Top Tags</h3>
			<? echo drizzo_tag_cloud(25); ?>
			
			<br style="clear:both;" />
			
		</div>
		
		<div id="footer">
			
			<p>[ <a href="http://drizzoblog.com" title="Drizzo Project Site">Drizzo <? echo drizzo_version_number(); ?> alpha</a> ] [ Licensed under a <a rel="license" href="http://www.mozilla.org/MPL/">Mozilla Public License</a> ] [ Built by <a href="http://dryanmedia.com" title="dryan media">dryan media</a> ]</p>

		</div>
		
	</body>
	
</html>